package net.maku.events.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.events.vo.ActivityQuestionBankOptionVO;
import net.maku.events.query.ActivityQuestionBankOptionQuery;
import net.maku.events.entity.ActivityQuestionBankOptionEntity;

import java.util.List;

/**
 * 题库题目选项
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-22
 */
public interface ActivityQuestionBankOptionService extends BaseService<ActivityQuestionBankOptionEntity> {

    PageResult<ActivityQuestionBankOptionVO> page(ActivityQuestionBankOptionQuery query);

    List<ActivityQuestionBankOptionVO> getOptionByQuestionId(List<Long> questionIdList);

    void save(ActivityQuestionBankOptionVO vo);

    void update(ActivityQuestionBankOptionVO vo);

    void delete(List<Long> idList);
}